package com.geekaca.jsp.mapper;

import com.geekaca.jsp.pojo.Brand;

import java.util.List;

public interface BrandMapper {
    List<Brand> selectAllBrands();

    List<Brand> selectBrandByPage(Integer start, Integer pageSize);

//    List<Brand> selectBrandByPageNew(Integer start, Integer end);
    List<Brand> selectBrandByPageNew(Integer start, Integer end);

    int insertBrand(Brand brand);

    int updateBrand(Brand brand);

    int deleteBrand(Integer id);


}
